﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_Result.Click
        Dim num1, num2 As Single
        num1 = CSng(tb_firstNumber.Text)
        num2 = CSng(tb_secondNumber.Text)
        Dim result As Single
        result = num1 + num2
        lbl_solution.Text = CStr(result)
    End Sub

    Protected Sub TextBox2_TextChanged(ByVal sender As Object, ByVal e As EventArgs) Handles tb_secondNumber.TextChanged

    End Sub
End Class